package com.canaan.business.domain.storehouse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 【请填写功能名称】对象 wms_replace_pack
 *
 * @author ruoyi
 * @date 2023-03-06
 */
@ApiModel(description = "wms_replace_pack")
@TableName("wms_replace_pack")
public class ReplacePack extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** no */
    @Excel(name = "编号")
    @ApiModelProperty("no")
    private String no;

    /** 新条码 */
    @Excel(name = "新条码")
    @ApiModelProperty("新条码")
    private String newBarcode;

    /** 物料编号 */
    @Excel(name = "物料编号")
    @ApiModelProperty("物料编号")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String productName;

    /** 来源箱条码 */
    @Excel(name = "来源箱条码")
    @ApiModelProperty("来源箱条码")
    private String sourceBoxBarcode;

    /** 原箱数量 */
    @Excel(name = "原箱数量")
    @ApiModelProperty("原箱数量")
    private Long beforeBoxNum;

    /** 拆箱数量 */
    @Excel(name = "拆箱数量")
    @ApiModelProperty("拆箱数量")
    private Long afterBoxNum;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("拆箱数量")
    private String delFlag;

    @ApiModelProperty("排序")
    private Integer sort;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setNewBarcode(String newBarcode)
    {
        this.newBarcode = newBarcode;
    }

    public String getNewBarcode()
    {
        return newBarcode;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setSourceBoxBarcode(String sourceBoxBarcode)
    {
        this.sourceBoxBarcode = sourceBoxBarcode;
    }

    public String getSourceBoxBarcode()
    {
        return sourceBoxBarcode;
    }
    public void setBeforeBoxNum(Long beforeBoxNum)
    {
        this.beforeBoxNum = beforeBoxNum;
    }

    public Long getBeforeBoxNum()
    {
        return beforeBoxNum;
    }
    public void setAfterBoxNum(Long afterBoxNum)
    {
        this.afterBoxNum = afterBoxNum;
    }

    public Long getAfterBoxNum()
    {
        return afterBoxNum;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("newBarcode", getNewBarcode())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("sourceBoxBarcode", getSourceBoxBarcode())
            .append("beforeBoxNum", getBeforeBoxNum())
            .append("afterBoxNum", getAfterBoxNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .toString();
    }
}
